package cases.chapter04.chapter0404;

public class Teacher extends Person {
    public Teacher(String name, int age) {
        super(name, age);
    }

    public void say() {
        System.out.println("老师姓名：" + this.getName() + ",年龄：" + this.getAge() + ",负责提出问题。");
    }
}
